package demo_designPattern.proxy.staticProxy;

public class DataCollector implements Collector {
	public void collect() throws InterruptedException {
		System.out.println("start collecting data...");
		Thread.sleep((long) (Math.random() * 4000));
		System.out.println("the collecting process finished!");
	}
}
